home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q101 / 5 / 01.TXT < prev    next >
Text File  |  1993-08-30  |  3KB  |  57 lines

  1. DOCUMENT:Q101501  19-JUL-1993  [W_NT]
  2. TITLE   :INF: Differences Between a Service and a Device Driver
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system, version 3.1
  12.  - Microsoft Windows NT Advanced Server, version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. In the Windows NT operating system, a service and a device driver have
  16. different functions. A service is a user-mode process that implements
  17. the Service Controller Specification. A device driver is a portion of
  18. kernel-mode code that implements the Windows NT Driver Model
  19. Specification.
  20.  
  21. There are some similarities between services and device drivers. The
  22. Service Controller is the component of the system that controls
  23. starting, pausing, stopping, and continuing services in the system. It
  24. also starts and stops (loads and unloads) device drivers. The Service
  25. Controller provides a common user interface and application programming
  26. interface (API) for services and device drivers.
  27.  
  28. In some cases, a service is implemented as a front end for a driver. The
  29. Workstation service, for example, is implemented as a service from the
  30. perspective of the Service Controller. However, the service controls the
  31. network redirector file system driver by translating the control codes
  32. from the Service Controller into FSCTL (file system control codes) and
  33. passing them to the redirector.
  34.  
  35. Note that the Service Controller can control services and device drivers
  36. and it provides an API through which applications can perform the same
  37. tasks.
  38.  
  39. Additional reference words: 3.10
  40. KBCategory:
  41. KBSubcategory: WINNT
  42.  
  43. =============================================================================
  44.  
  45. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  46. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  47. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  48. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  49. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  50. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  51. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  52. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  53. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  54. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  55. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  56.  
  57. Copyright Microsoft Corporation 1993.